<?php
//Leaps Cache @ 2015-03-04 17:06:16
defined('LEAPS_VERSION') or exit('No permission resources.');
error_reporting ( E_ERROR );
$Head = S('common/common');
$CSS_PATH = SKIN_PATH.'default/css/';
$IMG_PATH = SKIN_PATH.'default/images/';
$JS_PATH = SKIN_PATH.'default/js/';
?>
<?php if($_username) { ?><?php echo  L('hellow') ;?> <?php echo  get_nickname() ;?>, <a href="<?php echo defined('SITE_URL') ? SITE_URL : '';?>index.php?app=member" target="_blank"><?php echo  L('member_center') ;?></a> <a href="<?php echo defined('SITE_URL') ? SITE_URL : '';?>index.php?app=member&controller=index&action=logout&forward=<?php echo  urlencode($_GET['forward']) ;?>" target="_top"><?php echo  L('logout') ;?></a>
<?php } else { ?> 
<span class="r"><a href="<?php echo  U('member/passport/register') ;?>" target="_blank"><?php echo  L('register') ;?></a> <span>|</span> <a href="<?php echo  U('member/passport/login',array('forward'=>urlencode($_GET['forward']))) ;?>" target="_top"><?php echo  L('login') ;?></a></span>
<?php } ?>
